package com.scuec.demo.service;

import com.github.pagehelper.PageInfo;
import com.scuec.demo.entity.StudentInfo;

import java.util.List;

public interface StudentService {

    public List<StudentInfo> getStudentInfo();

    public StudentInfo getStudentInfoById(Integer id);

public PageInfo<StudentInfo> getStudentPages(Integer pageNum, Integer pageSize);
    public int deleteStudentInfoById(Integer id);

    int insertStudentInfo(StudentInfo studentInfo);

    int updateStudentInfo(StudentInfo studentInfo);
}
